<template>
    <div class="search">
      <!-- 搜索组件 -->
         <mt-search
      v-model="value"
      cancel-text="取消"
      placeholder="请输入房源相关信息"
      style="height: 100%"
      @focus.native.capture="search"
    >
    </mt-search>
    </div>
</template>
<script>
export default {
  data(){
    return {
      value:''
    }
  },
  methods: {
    search(){
     this.$router.push('/searchPage'); 
    }
  }
  
}
</script>
